package com.apkicon.parser;

/**
 * 图标资源信息
 */
public class IconResource {
    private final String path;
    private final String type;
    private final int size;
    private final String density;
    
    public IconResource(String path, String type, int size, String density) {
        this.path = path;
        this.type = type;
        this.size = size;
        this.density = density;
    }
    
    public String getPath() {
        return path;
    }
    
    public String getType() {
        return type;
    }
    
    public int getSize() {
        return size;
    }
    
    public String getDensity() {
        return density;
    }
    
    @Override
    public String toString() {
        return String.format("IconResource{path='%s', type='%s', size=%d, density='%s'}", 
                               path, type, size, density);
    }
}
